﻿using Newtonsoft.Json;

namespace AutomationCommand
{
    public class ml_divice_option : BasiCommand
    {
        [JsonProperty("option")]
        public string Option { get; set; }

        [JsonProperty("overtime")]
        public int Overtime { get; set; }

        public ml_divice_option()
        {
            FunctionType = "ml_divice_option";
            OtherName = "手机功能操作";
            Option = "";
            Overtime = 10000;
            SuccessJump = -1;
            FailureJump = -1;
        }

        public bool Execute()
        {
            // 在这里编写执行命令的逻辑
            // 返回执行结果
            return true; // 假设此处始终成功
        }
    }
}
